Fix bug #16378 with mishandling of empty faces.
authorMatthias Dahl <ml_emacs-lists@binary-island.eu>
Sat, 5 Apr 2014 07:25:52 +0000 (10:25 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 5 Apr 2014 07:25:52 +0000 (10:25 +0300)
commit5cc127f4547074fccfb11b1f6e40e4d51a1edede
tree3aebce89c441e34e023fddf23a8fe141c6b0d207
parent58a87c4339113ff5d6b94a8d393acfb188b64f94
Fix bug #16378 with mishandling of empty faces.

 lisp/faces.el (face-spec-choose): Accept additional optional argument,
 whose value is returned if no matching attributes are found.
 (face-spec-recalc): Use the new optional argument when calling
 face-spec-choose.
lisp/ChangeLog
lisp/faces.el